package action_行为型.state_pattern_状态模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/09/17:35
 * @Description:
 */
public class StartState implements State {

	private Context context;

	public StartState(Context context) {
		this.context = context;
	}

	@Override public void doAction(Context context) {
		context.setState(this);
	}

	@Override public String toString() {
		return "start";
	}
}
